import request from '@/utils/request'
import {parseStrEmpty} from '@/utils/ruoyi'

export function getUserWallet(userId) {
  return request({
    url: '/customer/v1/user/wallet/' + parseStrEmpty(userId),
    method: 'get'
  })
}

export function deposit(data) {
  return request({
    url: '/customer/v1/user/wallet/deposit',
    method: 'put',
    data: data
  })
}
